package com.it.travel.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
@TableName("t_story")
public class Story {  // 简单处理下
    @TableId(type = IdType.AUTO)
    private Integer id;
    private String content;
    private Integer top;
    private String description;
    private String img;
    private String title;
    private Long createTime;
    private Long updateTime;
    @TableLogic
    private Integer isDeleted;

}
